package com.chouxiaozi.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "PRIVOIDER-PAYMENT-HYSTRIX8006",fallback = PaymentFallbackService.class)
public interface PaymentClient {

    @GetMapping("/payment_ok")
    String payment_ok();

    @GetMapping("/payment_timeout")
    String payment_timeout();
}
